body {
    font-family: Arial, sans-serif;
}

.novel-container {
    display: flex;
    align-items: flex-start;
    width: 80%;
    margin: 30px auto;
    padding: 20px;
    background-color: #f9f9f9;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.novel-poster {
    width: 300px;
    height: auto;
    margin-right: 40px;
}

.novel-info {
    flex-grow: 1;
    width: 350px;

}

.novel-content{
    width: 350px;
    list-style: none;
}

.novel-title {
    font-size: 24px;
    color: #333;
}

.novel-description {
    color: #666;
}

.novel-details {
    margin-top: 50px;
}


.trailer-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
}

.trailer-video {
    background: #fff;
    padding: 20px;
    border-radius: 5px;
}

.close-trailer {
    float: right;
    background: none;
    border: none;
    cursor: pointer;
}

.add-to-cart, .read-now {
    padding: 10px 20px;
    font-size: 16px;
    color: white;
    background-color: #007bff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin-right: 10px;
}

.add-to-cart:hover, .read-now:hover {
    background-color: #0056b3;
}
/*评论区*/
.comments-container {
    width: 80%;
    margin: 30px auto;
    padding: 20px;
    background-color: #f9f9f9;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.comments-list, .comment-form {
    margin-bottom: 20px;
}

.comment {
    border-bottom: 1px solid #ddd;
    padding: 10px;
}

.form-group {
    margin-bottom: 10px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
}

.form-group input[type="text"],
.form-group textarea {
    width: 100%;
    padding: 10px;
    box-sizing: border-box;
}

#comment-form button {
    padding: 10px 20px;
    cursor: pointer;
}

.comment-img img{
    margin-right: 20px;
    width: 60px;
    height:60px;
    border-radius: 50%;
}

.comments-list h4{
    margin-top: 0;
}